package com.dragon.modules.yuegou.entity.merchant;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 商户建议表实体类<br>
 * 对应的表为：mer_advice<br>
 * 
 * @author pbuilder generated
 * @date 2019-05-08 10:58:38
 * @company sgy
 * @version 2.0
 */
@TableName("mer_advice")
@ApiModel(description = "商户建议表")
public class AdviceEntity {

	protected String id;

    /** 商圈ID */
	@ApiModelProperty("商圈ID")
	protected String busdId;

    /** 商户ID */
	@ApiModelProperty("商户ID")
	protected String merchantId;

    /** 建议内容 */
	@ApiModelProperty("建议内容")
	protected String content;

    /**  */
	protected LocalDateTime createTime;

	/**
	 * 构造一个空商户建议表实体对象
	 */
	public AdviceEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个商户建议表实体对象
	 * 
	 * @param other 其它对象
	 */
	public AdviceEntity(AdviceEntity other){
		super();
     	this.id = other.id;
     	this.busdId = other.busdId;
     	this.merchantId = other.merchantId;
     	this.content = other.content;
     	this.createTime = other.createTime;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取商圈ID
	 * 
	 * @return busdId 商圈ID
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置商圈ID
	 * 
	 * @param busdId 商圈ID
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取商户ID
	 * 
	 * @return merchantId 商户ID
	 */
	public String getMerchantId() {
		return merchantId;
	}
  	
	/**
	 * 设置商户ID
	 * 
	 * @param merchantId 商户ID
	 */
	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	/**
	 * 获取建议内容
	 * 
	 * @return content 建议内容
	 */
	public String getContent() {
		return content;
	}
  	
	/**
	 * 设置建议内容
	 * 
	 * @param content 建议内容
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * 获取
	 * 
	 * @return createTime 
	 */
	public LocalDateTime getCreateTime() {
		return createTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createTime 
	 */
	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

    public String toString() {
		return new StringBuilder().append("AdviceEntity{").
			append("id=").append(id).
			append(",busdId=").append(busdId).
			append(",merchantId=").append(merchantId).
			append(",content=").append(content).
			append(",createTime=").append(createTime).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public AdviceEntity copy() {
		return new AdviceEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /** 商圈ID */
	public static final String COL_BUSD_ID = "busd_id";

    /** 商户ID */
	public static final String COL_MERCHANT_ID = "merchant_id";

    /** 建议内容 */
	public static final String COL_CONTENT = "content";

    /**  */
	public static final String COL_CREATE_TIME = "create_time";
}
